Streams form Class
Generates a form with inputs that modify various streams
Constructor
Streams form
(
-
$options
Parameters:
-
$options
ArrayAn associative array of parameters, containing:
-
[fields]
Array optionalan associative array of ($id => $fieldinfo) pairs, where $id is the id to append to the tool's id, to generate the input's id, and $fieldinfo is either an associative array with the following fields, or a regular array consisting of fields in the following order:
- "publisherId": Required. The id of the user publishing the stream
- "streamName": Required. The name of the stream
- "field": The stream field to edit, or "attribute:$attributeName" for an attribute.
- "input": The type of the input (@see Q_Html::smartTag())
- "attributes": Additional attributes for the input
- "options": options for the input (if type is "select", "checkboxes" or "radios")
- "params": array of extra parameters to Q_Html::smartTag
-